package org.javaboy.fmall.utils.generateTool;

/**
 * @ClassName DataForTypeEnum
 * @Description 数据类型
 * @Author find me
 * @Date 2020/7/18 0018 15:16
 * @Version 1.0
 */
public enum DataForTypeEnum {

    BUSINESS_ID("BUSINESS_ID",3,"BID父类"),
    PARENT_BUSINESS_ID("PARENT_BUSINESS_ID",4,"PBID"),
    DICTIONARY("DICTIONARY",5,"字典"),
    GROUP_ID("GROUP_ID",6,"分组ID"),
    OTHER("OTHER",9,"其他");

    String desc;//文字描述
    Integer code; //对应的代码
    String letter; //对应的代码

    DataForTypeEnum(String letter, Integer code, String desc){
        this.letter=letter;
        this.code=code;
        this.desc=desc;

    }


    public String getDesc() {
        return desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getLetter() {
        return letter;
    }
}
